package me.wangcai.trafficpoliceai.service;

import com.baomidou.mybatisplus.extension.service.IService;
import me.wangcai.trafficpoliceai.model.ResponseInfo;
import me.wangcai.trafficpoliceai.model.entity.Violation;

import java.util.HashMap;

public interface IViolationService extends IService<Violation>{
//    ResponseInfo updateViolation(Integer id, String username);
    ResponseInfo add(Violation violation);

    ResponseInfo filterViolation(HashMap<String, String> map);
}
